package com.yinbo.util;

public class Constants {

	private static int titleLength = 50;
	private static int titleLength2 = 10;

	private Constants() {
	}

	public static int getTitleLength() {
		return titleLength;
	}
	public static int getTitleLength2() {
		return titleLength2;
	}

	public  static String rightTitleString(String title) {
		return org.apache.commons.lang.StringUtils.rightPad(title, Constants.getTitleLength(), "");
	}
	public  static String rightTitleString2(String title) {
		return org.apache.commons.lang.StringUtils.rightPad(title, Constants.getTitleLength2(), ".");
	}
	
}
